#define _CRT_SECURE_NO_WARNINGS 1
#include  "list.h"

Test1()
{
	Listnode* plist = ListInit();
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushBack(plist, 4);
	ListPrint(plist);
	/*ListPushFront(plist, 5);
	ListPushFront(plist, 6);*/
	//ListPopBack(plist);
	Listnode*pos= Find(plist, 3);
	// ListInsert(pos,3);
	ListErase(pos);
	ListPrint(plist);
}
int main()
{
	Test1();

	return 0;
}